import {
	createSSRApp
} from "vue";
import App from "./App.vue";

// 引入uv-ui
import uvUI from '@climblee/uv-ui';

// 引入封装
import Request from './services/request';

// 引入自定义封装的工具箱
import Tools from './tools/tools';

export function createApp() {
	const app = createSSRApp(App);

    // 挂载uv-ui
    app.use(uvUI);

    // 引入请求封装
	Request(app);

    // 挂载自定义的工具箱
    app.use(Tools);

	return {
		app,
	};
}
